<?php
/**
 * Translator接口
 * User: Sanit
 * Date: 2017/3/6
 * Time: 22:15
 */
namespace Sanit\Validator;

interface TranslatorInterface
{
    /**
     * translator.
     *
     * @param $key message key.
     *
     * @return string
     */
    public function trans($key);
}